package com.brillilab.service.core.global;

import java.util.List;

import com.brillilab.domain.po.global.GlobalReagent;
import com.brillilab.domain.po.global.GlobalReagentAntibody;
import com.brillilab.domain.po.global.GlobalReagentPlasmid;
import com.brillilab.domain.po.global.GlobalReagentPrimer;
import com.brillilab.domain.po.global.GlobalSampleAttr;

/**
 * 全局成分 Service
 *
 * @author lj
 */
public interface IGlobalReagentService {

    GlobalReagent selectById(Long id);

    /**
     * 根据kitId获取列表
     *
     * @param id
     * @return
     */
    List<GlobalReagent> selectList(Long kitId);

    GlobalReagentAntibody selectAntibody(Long kitId, Long reagentId);

    GlobalReagentPrimer selectPrimer(Long kitId, Long reagentId);

    GlobalReagentPlasmid selectPlasmid(Long kitId, Long reagentId);

    List<GlobalSampleAttr> selectSampleAttrList(Long kitId, Long reagentId);

    boolean updateById(GlobalReagent reagent);
}
